import React from 'react';
import { connect } from 'dva';
import styles from './IndexPage.css';
import { Button } from 'antd';
import Layout from './IndexPage'

class HomePage extends React.Component {

  render() {
    const { location } = this.props
    return (
      <Layout location={location}>
        <Button>首页</Button>
      </Layout>
    )
  }
}

HomePage.propTypes = {
};

export default connect()(HomePage);